package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.domain.TUrl;
import com.woniu.car.dto.AllBackstageDto;
import com.woniu.car.dto.PageDto;
import com.woniu.car.exception.ParamException;
import com.woniu.car.param.PageParam;
import com.woniu.car.param.RoleAuthorizeParam;

import java.util.List;

public interface TUrlService extends IService<TUrl> {
    //根据url查找对应数据
    public TUrl queryUrl(TUrl tUrl);
    //查看所有功能接口列表
    public List<TUrl> showAllUrls();
    //角色权限分配
    public void roleAuthorize(RoleAuthorizeParam param) throws ParamException;
    //查看所有后台用户
    public List<AllBackstageDto> queryAllBackStage();
    //分页查看所有功能
    public PageDto showAllUrlss(PageParam param);
}
